#!/usr/bin/env bash
osascript \
    -e 'tell application "Terminal"' \
    -e 'set position of front window to {1, 1}' \
    -e 'end tell'
url=$(zenity --entry --title "Galleriesy Tool" --text "Enter target URL")
mkdir ~/Documents/gallery-dl
cd ~/Documents/gallery-dl
gallery-dl "$url"
open ~/Documents/gallery-dl/
